package com.atghost.minio.dto.req;


import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author zyp
 * @since 2024/3/16 上午10:27
 */
@Getter
@Setter
@ToString
public class StartChunkUploadReq {


    @NotBlank
    @ApiModelProperty("文件名称")
    private String fileName;
    @NotNull
    @Min(0)
    @ApiModelProperty("文件大小")
    private Long fileSize;
    @NotBlank
    @ApiModelProperty("摘要, 大写")
    private String digest;
    @NotBlank
    @ApiModelProperty("摘要算法")
    private String digestAlgorithm;

}
